<?php
$config = array(
	'title'			=> 'Bagging Jantan',
	'relative_link'	=> 'index.php?bagian='.$bagian.'&subbagian='.$subbagian.'&action=view',
	'col_name'		=> array('tgl_bagging', 'no_individu', 'varietas', 'no_tandan'),
	'col_title'		=> array('Tanggal', 'No Individu', 'Varietas', 'Nomor Tandan'),
	'nosort'		=> array('no_tandan'),
	'total_record'	=> $model->countAll()
);

$data = $model->search(); 
 
$viewHandler  = new GridView($data, $config);
$viewHandler->create();
?>